package com.rany.day10.demo03;

import java.util.Objects;

public class ObjectsTest {
    public static void main(String[] args) {
        demo01(null);
    }

    private static void demo01(Object obj) {
        Objects.requireNonNull(obj,"传递的对象值是空！请检查！");
    }
}
